	<H1>Current Activity</H1>
	  <p>This's my Exam registration Form. Edit before 48 hours. </p>
	<div class="header">
    		<div class="name_cal">Exam code</div>
              <div class="fees">Time</div>
      <div class="timeslot">Duration</div>
      <div class="address">Address </div>
              <div class="code"></div>
              <div id="clearone"></div>
    </div>
      <div class="box_current">
      	<ul>
		<? foreach($ketquas as $ketqua):?>
			<li>
              <div class="name_cal"><?echo $ketqua['Subject']['name']?></div>
              <div class="fees"><?echo date("d/m/Y", strtotime($ketqua['Testslot']['date']))?></div>
              <div class="timeslot"><?echo $ketqua['Testslot']['Timeslot']['description']//$ketqua['Schedule']['timeslot_id'];//$ketqua['Schedule']['Timeslot']['desciption']?></div>
              <div class="address"><?echo $ketqua['Testslot']['Venue']['addr']?></div>
              <div class="code">
                  <?php $nlink = '/trainees/editsubject/'.$ketqua['Receipt']['id']?>
				  <?php //echo $this->Html->link(__('Edit', true), array('action' => 'edit', $city['City']['id'])); ?>
				  <a href="<? echo $html->url($nlink);?>"><input type="submit" name="button" id="button" value="Edit" /></a>
              </div>
              <div id="clearone"></div>
            </li>
		<? endforeach;?>
        	
        </ul>
      </div>
     
